<%@ tag import="com.aiwei.tdjk.utils.SpringUtils" %>
<%@ tag import="com.aiwei.tdjk.service.CustomsHandbookProductdetailService" %>
<%@ tag import="com.aiwei.tdjk.entity.CustomsHandbookProductdetail" %>
<%@ tag pageEncoding="UTF-8"%>
<%@ attribute name="id" type="java.lang.Long" required="true" description="当前要展示的id" %>
<%!private CustomsHandbookProductdetailService productdetailService;%>
<%

    if(productdetailService == null) {
        productdetailService = SpringUtils.getBean(CustomsHandbookProductdetailService.class);
    }
    CustomsHandbookProductdetail productdetail = productdetailService.get(id);

    if(productdetail == null) {
        out.write("<span class='label label-important'>删除的数据，请修改</span>");
        return;
    }
    StringBuilder s = new StringBuilder();
    s.append(productdetail.getSpecifications());
    out.write(s.toString());
%>
